package com.fowo.api.model.inventory.detail.orderlist;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fowo.api.common.validator.*;
import javax.validation.constraints.*;
import lombok.Getter;
import lombok.Setter;

/**
 * 领星库存明细 预览导入辅助模型(全字段为文本类型)
 * @author yl_ls
 */
@Getter
@Setter
public class InventoryDetailOrderlistImportPo {

  /** fnsku */
  @ExcelProperty("fnsku")
  @Size(max = 100, message = "fnsku长度不能超过100")
  private String fnsku;

  /** 次品量 */
  @ExcelProperty("次品量")
  @IntegerString(message = "次品量数值格式不正确", label = "次品量")
  private String productBadNum;

  /** 锁定量 */
  @ExcelProperty("锁定量")
  @IntegerString(message = "锁定量数值格式不正确", label = "锁定量")
  private String productLockNum;

  /** 调拨在途 */
  @ExcelProperty("调拨在途")
  @IntegerString(message = "调拨在途数值格式不正确", label = "调拨在途")
  private String productOnway;

  /** 待检待上架量 */
  @ExcelProperty("待检待上架量")
  @IntegerString(message = "待检待上架量数值格式不正确", label = "待检待上架量")
  private String productQcNum;

  /** 实际库存总量 */
  @ExcelProperty("实际库存总量")
  @IntegerString(message = "实际库存总量数值格式不正确", label = "实际库存总量")
  private String productTotal;

  /** 良品量 */
  @ExcelProperty("良品量")
  @IntegerString(message = "良品量数值格式不正确", label = "良品量")
  private String productValidNum;

  /** 待到货量 */
  @ExcelProperty("待到货量")
  @IntegerString(message = "待到货量数值格式不正确", label = "待到货量")
  private String quantityReceive;

  /** 店铺编码 */
  @ExcelProperty("店铺编码")
  @Size(max = 50, message = "店铺编码长度不能超过50")
  private String scode;

  /** sku */
  @ExcelProperty("sku")
  @Size(max = 100, message = "sku长度不能超过100")
  private String sku;

  /** 单位库存成本 */
  @ExcelProperty("单位库存成本")
  @DecimalString(message = "单位库存成本小数格式不正确", label = "单位库存成本")
  private String stockCost;

  /** 库存成本 */
  @ExcelProperty("库存成本")
  @DecimalString(message = "库存成本小数格式不正确", label = "库存成本")
  private String stockCostTotal;

  /** 仓库编码 */
  @ExcelProperty("仓库编码")
  @Size(max = 50, message = "仓库编码长度不能超过50")
  private String wcode;

  /** 仓库id */
  @ExcelProperty("仓库id")
  @LongString(message = "仓库id数值格式不正确", label = "仓库id")
  private String wid;

  /** 产品id */
  @ExcelProperty("产品id")
  @LongString(message = "产品id数值格式不正确", label = "产品id", min = 0L)
  private String pid;
}
